#include <REGX52.H>
#include "LCD1602.h"
#include "Delay.h"

void main()
{
	LCD_Init();
	LCD_ShowChar(1,1,'a');
	LCD_ShowString(2,1,"abc");
	LCD_ShowNum(1,4,234,5);
	LCD_ShowSignedNum(1,10,-123,5);
	LCD_ShowHexNum(2,5,0xA5,4);
	LCD_ShowBinNum(2,10,0xA5,8);
	while(1)
	{
		LCD_WriteCommand(0x18);
		Delay(1000);
	}
}